import Cookies from 'js-cookie'

const state = {
  showLeftMenu: true,
  globalLoading: true,
  menus: [],
//   rules: [],
  users: {},
  userGroups: [],
  organizes: [],
    pageSize: 15,
    loginUserId: Cookies.get('loginUserId'),                         //  登录人员id
    roles:Cookies.get('roles'),
    token: '',                                           //..PHPSESSID
    
    userName: Cookies.get('userName'),                          //..姓名
    staffNum:Cookies.get('staffNum'),                                    //..工号
    // isFinishedReMsg:Cookies.get('isFinishedReMsg'),                                    //..储履历基本信息是否全部填写完毕
    isFinishedReMsg: null,
    photoPath: '',//..登录人员头像照片
    
    isAdmin : Cookies.get('isAdmin'),  //..false普通用户，true管理员
}

export default state
